let x: [string, number];
x = ['Runoob', 1];    // 运行正常
//x = [1, 'Runoob'];    // 报错
console.log(x[0]);    // 输出 Runoob